// component/order-card.js
Component({
  /**
   * 组件的属性列表
   */
  properties: {
    storeImage: String,
    storeName: String,
    status: Number,
    picPath: String,
    title: String,
    price: Number,
    num: String,
    total: Number,
    postFee: Number,
    showSep: Boolean
  },

  /**
   * 组件的初始数据
   */
  data: {

  },

  /**
   * 组件的方法列表
   */
  methods: {
    store() {
      this.triggerEvent('store')
    },
    delete() {
      this.triggerEvent('delete')
    },
    pay() {
      this.triggerEvent('pay')
    },
    detail() {
      this.triggerEvent('detail')
    },
    cancel() {
      this.triggerEvent('cancel')
    },
    comment() {
      this.triggerEvent('comment')
    },
    confirm () {
      this.triggerEvent('confirm')
    }
  }
})
